package com.neusoft.elm01.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.neusoft.elm01.entity.CommonResult;
import com.neusoft.elm01.entity.Dept;

public interface DeptService {
    public CommonResult findAll();
    public CommonResult findById(int id);
    public CommonResult add(Dept dept);
    public CommonResult deleteById(int id);
    public CommonResult update(Dept dept);

    public CommonResult useWrapper(QueryWrapper<Dept> wrapper);
}
